package myself;

public class one {
	public static void main(String[] args) {
		Father f = new Son();
		System.out.println(f.num1);
		
	}
}
class Father{
	int num1 = 4;
	void show() {
		System.out.println("father");
	}
}
class Son extends Father{
	int num2 = 5;
	void show() {
		System.out.println("son");
	}
}